<div class="yui-g" id="posts">
  <?php foreach ($pager->getResults() as $post): ?>
    <?php include_partial('post/post', array('post' => $post)); ?>
  <?php endforeach; ?>
  <?php include_partial('global/pager', array('pager' => $pager, 'url_string' => '@default?module=post&action=list')); ?>
</div>